<section class="content-header">
	<h1>
		{{title}}<small></small>
	</h1>
</section>
<section class="content">
	<div class="box box-default">
		<div class="col-md-12">
			<div class="box-body" ng-controller="setting as at">
				<alertdanger></alertdanger>
				<alertsuccess></alertsuccess>
				<form role="form">
					<div class="box-body">
						<div class="form-group">
							<label>备案号</label> <input maxlength="20" required="required"
								ng-model="icp" value="" class="form-control" type="text"
								placeholder="请输入备案号">
						</div>
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">图片参数</h3>
							</div>
							<div class="box-body">
								<div class="form-group">
									<label>保留原图</label> <label> <input type="radio"
										ng-model="issaveoriginalbitmap" ng-value="1" class="flat-red"
										ng-checked="true"> 开启
									</label> <label> <input type="radio"
										ng-model="issaveoriginalbitmap" ng-value="0" class="flat-red">
										关闭
									</label>
								</div>
								<div class="form-group">
									<label>压缩图片</label> <label> <input type="radio"
										ng-model="isimagecompression" ng-value="1" class="flat-red"
										ng-checked="true"> 开启
									</label> <label> <input type="radio"
										ng-model="isimagecompression" ng-value="0" class="flat-red">
										关闭
									</label>
								</div>
								<label>默认图片高度</label> <input maxlength="20" required="required"
									ng-model="defaultheight" value="" class="form-control"
									type="text" placeholder="请输入缩略图高度"> <label>默认图片宽度</label>
								<input maxlength="20" required="required"
									ng-model="defaultwidth" value="" class="form-control"
									type="text" placeholder="请输入缩略图宽度"> <label>低质量缩略图高度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailheightlow" value="" class="form-control"
									type="text" placeholder="请输入缩略图高度"> <label>低质量缩略图宽度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailwidthlow" value="" class="form-control"
									type="text" placeholder="请输入缩略图宽度"> <label>中质量缩略图高度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailheightmiddle" value="" class="form-control"
									type="text" placeholder="请输入缩略图高度"> <label>中质量缩略图宽度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailwidthmiddle" value="" class="form-control"
									type="text" placeholder="请输入缩略图宽度"> <label>高质量缩略图高度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailheighthigh" value="" class="form-control"
									type="text" placeholder="请输入缩略图高度"> <label>高质量缩略图宽度</label>
								<input maxlength="20" required="required"
									ng-model="thumbnailwidthhigh" value="" class="form-control"
									type="text" placeholder="请输入缩略图宽度">
							</div>

						</div>
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">运费参数</h3>
							</div>
							<div class="box-body">
								<label>免运费额度</label> <input maxlength="20" required="required"
									ng-model="freefreight" value="" class="form-control"
									type="text" placeholder="请输入免运费额度">
							</div>
							<div class="box-body">
								<label>统一运费</label> <input maxlength="20" required="required"
									ng-model="freight" value="" class="form-control"
									type="text" placeholder="请输统一运费">
							</div>
						</div>
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">积分参数</h3>
							</div>
							<div class="box-body">
								<div class="form-group">
									<label>使用积分进行订单金额抵扣</label> <label> <input type="radio"
										ng-model="isusepointtodiscountorderamount" ng-value="1"
										class="flat-red" ng-checked="true"> 开启
									</label> <label> <input type="radio"
										ng-model="isusepointtodiscountorderamount" ng-value="0"
										class="flat-red"> 关闭
									</label>
								</div>
								<div class="form-group">
									<label>积分换算比例</label> <input maxlength="20" required="required"
										ng-model="integralconversionration" value="" class="form-control"
										type="text" placeholder="请输入积分兑换比率1积分＝0.01元">
								</div>
							</div>
						</div>
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">优惠券参数</h3>
							</div>
							<div class="box-body">
								<div class="form-group">
									<label>使用优惠券进行订单金额抵扣</label> <label> <input type="radio"
										ng-model="isusevoucherdiscountorderamount" ng-value="1"
										class="flat-red" ng-checked="true"> 开启
									</label> <label> <input type="radio"
										ng-model="isusevoucherdiscountorderamount" ng-value="0"
										class="flat-red"> 关闭
									</label>
								</div>
								
							</div>
						</div>
					</div>
					<div class="box-footer">
						<button ng-show="updatebtn.show" type="button"
							class="btn btn-primary" ng-click="update();">更新</button>
					</div>
				</form>
			</div>
		</div>
		<div class="box-footer"></div>
	</div>
</section>
